<?php
/**
 * Created by PhpStorm.
 * User: Sky
 * Date: 16/1/25
 * Time: 下午5:50
 */

use yii\helpers\Html;
use yii\helpers\Url;
use app\lib\WeixinUtils;

/* @var $this yii\web\View */
/* @var $content string 字符串 */


$web = Url::to("@web");

?>
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <title><?=$title?></title>
    <script type="text/javascript" src="<?= $web ?>/js/jquery.js"></script>
    <link href="<?= $web ?>/css/home/global.css" rel="stylesheet" type="text/css">
    <link href="css/error.css" rel="stylesheet" type="text/css">
    <style>
        .title{
            position: fixed;
            top: 11rem;
            left: 8rem;
            width: 3.5rem;
            height: 3rem;
            line-height: 3.1rem;
            text-align: center;
            transform: rotate(18deg);
            -ms-transform: rotate(18deg);		/* IE 9 */
            -webkit-transform: rotate(18deg);	/* Safari and Chrome */
            -o-transform: rotate(18deg);		/* Opera */
            -moz-transform: rotate(18deg);
            font-size: 1.2rem;
            font-weight: 500;
            color: #fff;
        }
        .words{
            position: relative;
            top: 9.8rem;
            width: 16rem;
            text-align: center;
            height: 0.8rem;
            line-height: 0.8rem;
            font-size: 0.65rem;
            color: #b6b6b6;
            font-weight: 500;
        }
    </style>
    <script>
        $(function ($) {
            var w = $(document).width();
            if (w > 640) {
                w = 640;
            }
            $("html").css("font-size", w * 20 / 320);
        });
    </script>
    <style>
        .center{
            width: 16rem;
            height: 14.5rem;
            margin-top: 5.5rem;
            background-image: url("<?= $web ?>/img/home/info/error-1.png");
            background-size: cover;
        }
    </style>
</head>
<body>
<div class="center">
    <div class="title">
        <?=$title?>
    </div>
    <div class="words">  <?=$info?></div>
</div>
</body>
</html>




